﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using AssetManagementSystem.Model;
using AssetManagementSystem.Utils;
using AssetManagementSystem.Utils.Events;

namespace AssetManagementSystem.View.IView {
    interface IAssetView {

        void SetAssetList(List<Asset> assets);
        void ShowMessage(string message);

        //Events to retrieve data
        event EventHandler Assets_LoadAll;
        event EventHandler<SearchEventArgs> Assets_Find;

        //Events to store/update data
        event EventHandler<AssetEventArgs> Asset_Create;
        event EventHandler<AssetEventArgs> Asset_Update;

        //delete data
        event EventHandler<AssetEventArgs> Asset_Delete;
        event EventHandler<AssetPropertiesEventArgs> AssetProperty_Delete;
    }
}
